home *** CD-ROM | disk | FTP | other *** search
/ Danny Amor's Online Library / Danny Amor's Online Library - Volume 1.iso / html / faqs / faq / fonts-faq / part8 < prev    next >
Encoding:
Text File  |  1995-07-25  |  6.8 KB  |  156 lines

  1. Subject: comp.fonts FAQ: Sun Info
  2. Newsgroups: comp.fonts,comp.answers,news.answers
  3. From: norm@ora.com (Norman Walsh)
  4. Date: 9 Nov 1994 07:35:55 -0500
  5.  
  6. Archive-name: fonts-faq/part8
  7. Version: 2.0.4
  8.  
  9. Subject: 6. Sun Information
  10.   
  11.   Someone mailed a file of Sun-related font tips.  Unfortunately, I cannot
  12.   find the file.  If you have any suggestion for this section (or if you
  13.   are the person that mailed me the other list), please forward your
  14.   suggestions to norm.
  15.   
  16. Subject: 6.1. Fonts Under Open Windows
  17.   
  18.   The following information regarding fonts under Open Windows was stolen
  19.   from Liam R.E. Quin's Open Windows FAQ.  The original author was Rick
  20.   Heli.
  21.   
  22. Subject: 6.1.1. Does OpenWindows support Type 1 PostScript fonts?
  23.   
  24.   Type 1 fonts are supported starting with the NeWSprint 2.0 and Solaris
  25.   2.0 (OpenWindows 3.0.1) releases.
  26.   
  27.   There are also 57 F3 format fonts supplied with OpenWindows which are
  28.   fully hinted.  Documentation on the F3 font format and the F3 font
  29.   interpreter, TypeScaler, is available from Sun.
  30.   
  31.   The TypeScaler product is separately licensable from SunPics (the
  32.   printing arm of Sun Microsystems).  If you're interested in licensing
  33.   this product, Rick Heli can put you in touch with Marketing to work out
  34.   the arrangements.  TypeScaler does not appear as a standalone portion
  35.   of OpenWindows, though it is resident within the X11/NeWS server.
  36.   
  37. Subject: 6.1.2. Improving font rendering time
  38.   
  39.   Although the Sun type renderer (TypeScaler) is pretty fast, it's not as
  40.   fast as loading a bitmap.  You can pre-generate bitmap fonts for sizes
  41.   that you use a lot, and you can also alter and access the font cache
  42.   parameters.     If you have a lot of memory you might want to
  43.   increase the font cache size.
  44.   
  45.            $ psh -i
  46.            Welcome to X11/NeWS Version3      <--- psh will say this at you
  47.            currentfontmem =                  % type this line ...
  48.            300                                  % ... my server was using 300 Kbytes
  49.            1024 setfontmem
  50.                                              % Just to check:
  51.            currentfontmem =
  52.            1024
  53.   
  54.   See pp. 328ff of the NeWS 3.0 Programmer's Guide.  You need to say psh
  55.   -i so that the PostScript packages are loaded - see the psh man page.
  56.   
  57. Subject: 6.1.3. Making bitmap fonts for faster startup
  58.   
  59.   Sun supports the F3 scalable outline format.  These descriptions are
  60.   stored in .f3b files.  The makeafb program is used to create a bitmap
  61.   font at a particular size which is stored in a .afb file, which is an
  62.   Adobe ASCII format for font bitmaps.  X11/NeWS really prefers a binary
  63.   format though for speed and other reasons, so convertfont is used to
  64.   "compile" the font into a font binary or .fb file.
  65.   
  66.   Once this is done, X11/NeWS needs to understand the relationship between
  67.   the .f3b file and all the bitmaps which are based on it.  Thus, the
  68.   bldfamily program makes these correlations and stores the data in the
  69.   font family or .ff file.
  70.   
  71.   bldfamily also builds a global list of all fonts stored in the working
  72.   directory, writing the results out to the file Families.list.  If one
  73.   wishes to create font aliases, these can be added to the Synonyms.list
  74.   file by hand and bldfamily will then add them to Families.list for you.
  75.   X11/NeWS uses Families.list to construct the font list it advertises
  76.   to applications.
  77.   
  78.   To go from F3 to BDF, use makeafb to generate a bitmap font in .afb
  79.   format.  Then use one of convertfont's many options to change to this
  80.   to .bdf format and from there it should be clear.
  81.   
  82.          $ mkdir $HOME/myfonts
  83.          $ cd $HOME/myfonts
  84.          $ makeafb -20 -M $OPENWINHOME/lib/fonts/Bembo.f3b
  85.          Creating Bembo20.afb
  86.          $ convertfont -b Bembo20.afb
  87.          Bembo20.afb->./Bembo20.fb
  88.          Chars parameter greater than number of characters supplied.
  89.          $ ls
  90.          Bembo20.afb   Bembo20.fb      Synonyms.list
  91.          $ bldfamily
  92.          * Bembo                      ./Bembo.ff (Encoding: latin)
  93.          cat: ./Compat.list: No such file or directory
  94.          $ xset +fp `pwd`
  95.          $ xset fp rehash
  96.   
  97.   If you want the server to see your new font directory every time, add
  98.   this directory to your FONTPATH environment variable in one of your
  99.   start-up files, e.g. .login or .profile.
  100.   
  101. Subject: 6.1.4. Converting between font formats (convertfont, etc.)
  102.   
  103.   You can also use F3 fonts with an X11 server, by converting them to a
  104.   bitmap (X11 bdf format) first.  Your license restricts use of these
  105.   fonts on another machine, and unless you have NeWSPrint you shouldn't
  106.   use them for printing.  Having said all that...  you can use makeafb
  107.   and convertfont to generate bdf files that you can compile with
  108.   bdftosnf or bdftopcf.
  109.   
  110.   Use mftobdf (from the SeeTeX distribution) to convert TeX PK fonts to
  111.   X11 BDF format, which you can then use with either X11 or OpenWindows.
  112.   
  113. Subject: 6.1.5. Xview/OLIT fonts at 100 dpi
  114.   
  115.   There aren't any.  More precisely, the various text fonts, such as
  116.   Lucida Typewriter Sans, are available at 100 dpi, and in fact are
  117.   scalable under OpenWindows.  The glyph fonts are bitmaps, and don't
  118.   scale very well.
  119.   
  120. Subject: 6.2. Where can I order F3 fonts for NeWSprint and OpenWindows?
  121.   
  122.   600 F3 fonts are available for unlocking from Printer's Palette, a CD
  123.   available with NeWSprint 2.0.
  124.   
  125.   In addition, F3 fonts are available from the following sources:
  126.   
  127.          Linotype AG                     Linotype Company
  128.          Mergenthaler Allee 55-75        425 Oser Avenue
  129.          6236 Eschborn Germany           Hauppague, NY  11788
  130.          49/(61 96) 4031                    (800) 336-0045
  131.          FAX 011/49/6196-982185          FAX 516-434-2055
  132.          attn: F3 Font Production        attn: F3 Font Production
  133.        
  134.          Monotype Plc.                   Monotype Typography
  135.          Salfords Redhill RH1 5JP        53 W. Jackson Boulevard Suite 504
  136.          England                         Chicago, IL  60604
  137.          44/(737) 765959                 (800) 666-6893
  138.          FAX 011/44/737-769243           FAX (312) 939-0378
  139.          attn: F3 Font Production        attn: F3 Font Production
  140.        
  141.          U R W                           U R W
  142.          Harksheider Strasse 102         One Tara Boulevard Suite 210
  143.          D2000 Hamburg Germany           Nashua, NH  03062
  144.          49/(40) 606050                  (603) 882-7445
  145.          49/(40) 60605148                (603) 882-7210
  146.          attn: F3 Font Production        attn: F3 Font Production
  147.        
  148.          Bigelow & Holmes                Autologic
  149.          P. O. Box 1299                  1050 Rancho Conejo Boulevard
  150.          Menlo Park, CA  94026           Newbury Park, CA  91320
  151.          415/326-8973                    (800)235-1843, or (805)498-9611 in CA
  152.          FAX (415) 326-8065              FAX (805) 499-1167
  153.          attn: F3 Font Production        attn: F3 Font Production
  154.   
  155.  
  156.